package com.fs.base.vo;

import java.util.List;

import lombok.Data;

@Data
public class Node {
	/*
	 * 是否选中
	 */
	private boolean selected = false;
	/*
	 * 是否勾选
	 */
	private boolean checked = false;
	/*
	 * 展开状态
	 */
	private String state;
	/*
	 * 值主键
	 */
	private String id;
	
	/*
	 * 父亲主键
	 */
	private String pid;
	/*
	 *值文本域
	 */
	private String text;
	
	/*
	 *值域 
	 */
	private String value;
	/*
	 * 属性
	 */
	private Object attributes;
	/*
	 * 子节点
	 */
	private List<Node> children;
	
	public Node(String idValue,String pidValue,String textValue,String valueValue,Object o){
		this.id = idValue;
		this.pid = pidValue;
		this.text = textValue;
		this.value = valueValue;
		this.attributes = o;
	}
}
